Optimal. Leaf size=174 \[ \frac {2 b^{3/2} e^{-2 a+\frac {2 b c}{d}} \sqrt {2 \pi } \text {Erf}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{3 d^{5/2}}+\frac {2 b^{3/2} e^{2 a-\frac {2 b c}{d}} \sqrt {2 \pi } \text {Erfi}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{3 d^{5/2}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.23, antiderivative size = 174, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 7, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.389, Rules used = {3395, 32, 3393,
3388, 2211, 2235, 2236} \begin {gather*} \frac {2 \sqrt {2 \pi } b^{3/2} e^{\frac {2 b c}{d}-2 a} \text {Erf}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{3 d^{5/2}}+\frac {2 \sqrt {2 \pi } b^{3/2} e^{2 a-\frac {2 b c}{d}} \text {Erfi}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{3 d^{5/2}}-\frac {8 b \sinh (a+b x) \cosh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 2211
Rule 2235
Rule 2236
Rule 3388
Rule 3393
Rule 3395
Rubi steps
\begin {align*} \int \frac {\sinh ^2(a+b x)}{(c+d x)^{5/2}} \, dx &=-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}}+\frac {\left (8 b^2\right ) \int \frac {1}{\sqrt {c+d x}} \, dx}{3 d^2}+\frac {\left (16 b^2\right ) \int \frac {\sinh ^2(a+b x)}{\sqrt {c+d x}} \, dx}{3 d^2}\\ &=\frac {16 b^2 \sqrt {c+d x}}{3 d^3}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}}-\frac {\left (16 b^2\right ) \int \left (\frac {1}{2 \sqrt {c+d x}}-\frac {\cosh (2 a+2 b x)}{2 \sqrt {c+d x}}\right ) \, dx}{3 d^2}\\ &=-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}}+\frac {\left (8 b^2\right ) \int \frac {\cosh (2 a+2 b x)}{\sqrt {c+d x}} \, dx}{3 d^2}\\ &=-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}}+\frac {\left (4 b^2\right ) \int \frac {e^{-i (2 i a+2 i b x)}}{\sqrt {c+d x}} \, dx}{3 d^2}+\frac {\left (4 b^2\right ) \int \frac {e^{i (2 i a+2 i b x)}}{\sqrt {c+d x}} \, dx}{3 d^2}\\ &=-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}}+\frac {\left (8 b^2\right ) \text {Subst}\left (\int e^{i \left (2 i a-\frac {2 i b c}{d}\right )-\frac {2 b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{3 d^3}+\frac {\left (8 b^2\right ) \text {Subst}\left (\int e^{-i \left (2 i a-\frac {2 i b c}{d}\right )+\frac {2 b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{3 d^3}\\ &=\frac {2 b^{3/2} e^{-2 a+\frac {2 b c}{d}} \sqrt {2 \pi } \text {erf}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{3 d^{5/2}}+\frac {2 b^{3/2} e^{2 a-\frac {2 b c}{d}} \sqrt {2 \pi } \text {erfi}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {c+d x}}{\sqrt {d}}\right )}{3 d^{5/2}}-\frac {8 b \cosh (a+b x) \sinh (a+b x)}{3 d^2 \sqrt {c+d x}}-\frac {2 \sinh ^2(a+b x)}{3 d (c+d x)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.79, size = 156, normalized size = 0.90 \begin {gather*} -\frac {2 e^{-2 \left (a+\frac {b c}{d}\right )} \left (\sqrt {2} d e^{4 a} \left (-\frac {b (c+d x)}{d}\right )^{3/2} \Gamma \left (\frac {1}{2},-\frac {2 b (c+d x)}{d}\right )+\sqrt {2} d e^{\frac {4 b c}{d}} \left (\frac {b (c+d x)}{d}\right )^{3/2} \Gamma \left (\frac {1}{2},\frac {2 b (c+d x)}{d}\right )+e^{2 \left (a+\frac {b c}{d}\right )} \left (d \sinh ^2(a+b x)+2 b (c+d x) \sinh (2 (a+b x))\right )\right )}{3 d^2 (c+d x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {\sinh ^{2}\left (b x +a \right )}{\left (d x +c \right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.34, size = 118, normalized size = 0.68 \begin {gather*} -\frac {\frac {3 \, \sqrt {2} \left (\frac {{\left (d x + c\right )} b}{d}\right )^{\frac {3}{2}} e^{\left (\frac {2 \, {\left (b c - a d\right )}}{d}\right )} \Gamma \left (-\frac {3}{2}, \frac {2 \, {\left (d x + c\right )} b}{d}\right )}{{\left (d x + c\right )}^{\frac {3}{2}}} + \frac {3 \, \sqrt {2} \left (-\frac {{\left (d x + c\right )} b}{d}\right )^{\frac {3}{2}} e^{\left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )} \Gamma \left (-\frac {3}{2}, -\frac {2 \, {\left (d x + c\right )} b}{d}\right )}{{\left (d x + c\right )}^{\frac {3}{2}}} - \frac {2}{{\left (d x + c\right )}^{\frac {3}{2}}}}{6 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 864 vs.
\(2 (134) = 268\).
time = 0.54, size = 864, normalized size = 4.97 \begin {gather*} \frac {4 \, \sqrt {2} \sqrt {\pi } {\left ({\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right )^{2} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - {\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right )^{2} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left ({\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - {\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )^{2} + 2 \, {\left ({\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right ) \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) - {\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right ) \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )\right )} \sqrt {\frac {b}{d}} \operatorname {erf}\left (\sqrt {2} \sqrt {d x + c} \sqrt {\frac {b}{d}}\right ) - 4 \, \sqrt {2} \sqrt {\pi } {\left ({\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right )^{2} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right )^{2} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left ({\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )^{2} + 2 \, {\left ({\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right ) \cosh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right ) + {\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2}\right )} \cosh \left (b x + a\right ) \sinh \left (-\frac {2 \, {\left (b c - a d\right )}}{d}\right )\right )} \sinh \left (b x + a\right )\right )} \sqrt {-\frac {b}{d}} \operatorname {erf}\left (\sqrt {2} \sqrt {d x + c} \sqrt {-\frac {b}{d}}\right ) - {\left ({\left (4 \, b d x + 4 \, b c + d\right )} \cosh \left (b x + a\right )^{4} + 4 \, {\left (4 \, b d x + 4 \, b c + d\right )} \cosh \left (b x + a\right ) \sinh \left (b x + a\right )^{3} + {\left (4 \, b d x + 4 \, b c + d\right )} \sinh \left (b x + a\right )^{4} - 4 \, b d x - 2 \, d \cosh \left (b x + a\right )^{2} + 2 \, {\left (3 \, {\left (4 \, b d x + 4 \, b c + d\right )} \cosh \left (b x + a\right )^{2} - d\right )} \sinh \left (b x + a\right )^{2} - 4 \, b c + 4 \, {\left ({\left (4 \, b d x + 4 \, b c + d\right )} \cosh \left (b x + a\right )^{3} - d \cosh \left (b x + a\right )\right )} \sinh \left (b x + a\right ) + d\right )} \sqrt {d x + c}}{6 \, {\left ({\left (d^{4} x^{2} + 2 \, c d^{3} x + c^{2} d^{2}\right )} \cosh \left (b x + a\right )^{2} + 2 \, {\left (d^{4} x^{2} + 2 \, c d^{3} x + c^{2} d^{2}\right )} \cosh \left (b x + a\right ) \sinh \left (b x + a\right ) + {\left (d^{4} x^{2} + 2 \, c d^{3} x + c^{2} d^{2}\right )} \sinh \left (b x + a\right )^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sinh ^{2}{\left (a + b x \right )}}{\left (c + d x\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\mathrm {sinh}\left (a+b\,x\right )}^2}{{\left (c+d\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________